]> dgit.raspbian.org Git - gnome-shell.git/commit
timeLimitsManager: Remove a redundant fallback value
authorPhilip Withnall <pwithnall@gnome.org>
Wed, 5 Mar 2025 11:32:48 +0000 (11:32 +0000)
committerMarge Bot <marge-bot@gnome.org>
Wed, 5 Mar 2025 12:06:07 +0000 (12:06 +0000)
commit7183e75f052da2f8c169b69eda4df8b934ec5da0
tree02e53f874055ccfe8342ccf3b61bb4295c426cba
parent5d1157cdfaaa2b3196a4033d2ba411a0e0fb1695
timeLimitsManager: Remove a redundant fallback value

This code was originally copied from `lightbox.js`, where the fallback
is potentially useful because the duration is provided as an argument.
The `timeLimitsManager` uses a constant as the duration, though, so the
fallback is just confusing.

Spotted in https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3655#note_2369352

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3655>
js/misc/timeLimitsManager.js